<template>
  <div class="movie">
    <h1>Movie</h1>
    <h3>Count组件中的num值是{{ num }}</h3>
    <h3>Count组件中的doubleNum值是{{ doubleNum }}</h3>
  </div>
</template>

<script>
import { mapState, mapGetters } from "vuex";
export default {
  name: "Movie",
  mounted() {
  },
  computed: {
    ...mapState(["num"]),
    ...mapGetters(["doubleNum"]),
  },
};
</script>

<style scoped>
.movie {
  background: yellowgreen;
}
</style>
